﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Roles.aspx.cs" Inherits="Sio.Mdm.Web.idm.Roles" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Vloge</title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:ResourceManager runat="server" />
    
    <ext:Viewport runat="server" Layout="Fit">
    <Content>
		                    
		<ext:GridPanel ID="GridPanel1" runat="server" 
			StripeRows="true"
			TrackMouseOver="true"
			Width="700" 
			Height="250"
			AutoExpandColumn="nazivVloge">
			
		<Store>
			<ext:Store ID="Store1" runat="server">
			<Reader>
				<ext:ArrayReader>
					<Fields>
						<ext:RecordField Name="nazivVloge" />
						<ext:RecordField Name="organizacija" />
						<ext:RecordField Name="zacetek" Type="Date" DateFormat="M/d hh:mmtt"/>
						<ext:RecordField Name="konec" Type="Date" DateFormat="M/d"/>
						<ext:RecordField Name="status" />
					</Fields>
				</ext:ArrayReader>
			</Reader>
			</ext:Store>
		</Store>
	    
		<ColumnModel ID="ColumnModel1" runat="server">
		<Columns>
			<ext:Column ColumnID="nazivVloge" Header="Naziv Vloge" DataIndex="nazivVloge" />
			<ext:Column Header="Organizacija" DataIndex="organizacija" />
			<ext:DateColumn Header="Začetek" DataIndex="zacetek" />                  
			<ext:DateColumn Header="Konec" DataIndex="konec" />                   
			<ext:Column Header="Status" DataIndex="status" />
		</Columns>
		</ColumnModel>
		
		<SelectionModel>
			<ext:RowSelectionModel ID="RowSelectionModel1" runat="server" SingleSelect="true" />
		</SelectionModel>
		
		<TopBar>
			<ext:Toolbar ID="Toolbar1" runat="server" Width="500">
			<Items>
				<sio:Button ID="Button1" runat="server" Text="Zgodovina" Icon="NoteEdit">
				</sio:Button>
				<sio:Button ID="Button2" runat="server" Text="Izpisi" Icon="NoteEdit">
				</sio:Button>
				<sio:Button ID="Button3" runat="server" Text="Pravice" Icon="NoteEdit">
				</sio:Button>
			</Items>
			</ext:Toolbar>
		</TopBar>
		
		</ext:GridPanel>
    
	</Content>
	</ext:Viewport>
    </form>
</body>
</html>
